home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1996 July
/
Macworld (1996-07).dmg
/
Shareware World
/
HTML
/
BBEdit Lite 3.5.1
/
BBEdit Lite 3.5
/
BBEdit Lite 3.5.rsrc
/
gPAT_1024_Default Patterns.txt
< prev
next >
Wrap
Text File
|
1996-01-02
|
801b
|
30 lines
# (decoded with TMPL 130)
Number of Patterns: (7 entries)
0:
Title: 'Pascal Comment to C Comment'
Search Pattern: '{([^}]*)}'
Replace Pattern: '/* \1 */'
1:
Title: 'C++ Comment to C Comment'
Search Pattern: '//(.*)'
Replace Pattern: '/* \1 */'
2:
Title: 'Space Runs to Tabs'
Search Pattern: ' +'
Replace Pattern: '\t'
3:
Title: 'C Function Header'
Search Pattern: '^[^ \t#\r/@][^\r]*\([^\r]*\)$'
Replace Pattern: ''
4:
Title: 'C Comment to Pascal Comment'
Search Pattern: '/\*([^\r]*)\*/'
Replace Pattern: '{\1}'
5:
Title: 'Shift Variables Right'
Search Pattern: '(.*)(\t\t*)(.*)'
Replace Pattern: '\1\2\t\3'
6:
Title: 'Shift Variables Left'
Search Pattern: '(.*)(\t)(\t*)(.*)'
Replace Pattern: '\1\3\4'